From: Glenn Morris Date: Sat, 2 Feb 2008 04:16:23 +0000 (+0000) Subject: (declare-function): Add compatibility definition. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~24382 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f6bcd65fa55b64529060cd5fcec3610e1d8ab572;p=emacs.git (declare-function): Add compatibility definition. (ps-plot-with-face, ps-plot-string): Declare as functions. (ps-bold-faces, ps-italic-faces): Declare variables. --- diff --git a/lisp/ps-def.el b/lisp/ps-def.el index 30453f87463..72a8bbf3e23 100644 --- a/lisp/ps-def.el +++ b/lisp/ps-def.el @@ -31,6 +31,15 @@ ;;; Code: +(eval-and-compile + (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) + +(declare-function ps-plot-with-face "ps-print" (from to face)) +(declare-function ps-plot-string "ps-print" (string)) + +(defvar ps-bold-faces) ; in ps-print.el +(defvar ps-italic-faces) + ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;